package com.qilu.careprogram.service;

import com.qilu.careprogram.pojo.entity.es.QuestionAnswer;

import java.util.List;

public interface ESQuestionAnswerService {
    String addDocument(QuestionAnswer questionAnswer);

    String addBulkDocument(List<QuestionAnswer> questionAnswerList);

    List<QuestionAnswer> getAllDocument(Integer page, Integer pageSize);

    List<QuestionAnswer> getByConditionDocument(String condition);

    String deleteDocument(String id);
}
